package com.cwz.core.annotation;

import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 * @program: w-demo
 * @description: feign 启动注解
 * 				 兼容 EnableFeignClients
 * 				 添加 basePackages 路径
 * @author: Wen
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients(basePackages = "com.cwz")
public @interface EnableGlobalFeignClients {
	String[] value() default {};

	String[] basePackages() default {"com.cwz"};

	Class<?>[] basePackageClasses() default {};

	Class<?>[] defaultConfiguration() default {};

	Class<?>[] clients() default {};
}
